package com.erqi.mapper.master;

import com.erqi.pojo.Plcuser;
import com.erqi.pojo.PlcuserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface PlcuserMapper {
    long countByExample(PlcuserExample example);

    int deleteByExample(PlcuserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Plcuser record);

    int insertSelective(Plcuser record);

    List<Plcuser> selectByExample(PlcuserExample example);

    Plcuser selectByPrimaryKey(Integer id);

    Plcuser selectByUser(String username);

    int updateByExampleSelective(@Param("record") Plcuser record, @Param("example") PlcuserExample example);

    int updateByExample(@Param("record") Plcuser record, @Param("example") PlcuserExample example);

    int updateByPrimaryKeySelective(Plcuser record);

    int updateByPrimaryKey(Plcuser record);
}